import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/website/access/log/` + url, ...arg)
export default {
	pageList(data) {
		return request('pageList', data, 'post')
	},
	exportExcel(data) {
		return request('exportAccessLog', data, 'post', {
			responseType: 'blob'
		})
	},
	add(data) {
		return request('add', data, 'post')
	}
}
